﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {

            BMWCar b = new BMWCar("宝马");
            b.Run();

            Console.WriteLine("------------------------------");
            BianFuCar bianFu = new BianFuCar("蝙蝠");
            bianFu.Run();
            bianFu.fly();
            bianFu.attack();
        }
    }
}
